package com.goodwill.androidtest.observer;

public class ObserverTest {
    public static void main(String[] args) {
        Observer first = new ObserverImpl("first");
        Observer second = new ObserverImpl("second");
        Observable observable = new ObservableImpl();
        observable.registerObserver(first);
        observable.registerObserver(second);
        observable.notifyObservers("new message");
    }
}
